import {ref} from "vue";
import {IMenu, IMenuIcon} from "./utils/PersonalMenuInterface";
import {createPersonalMenu, createPersonalMenuIcon} from "./utils/createPersonalMenu";

export function usePersonalMenu() {
    const menuTop = ref<IMenu[]>();
    const menuBottom = ref<IMenuIcon[]>()

    menuTop.value = createPersonalMenu();
    menuBottom.value = createPersonalMenuIcon()

    return {
        menuTop,
        menuBottom,
    }
}